export interface optionType {
  dayQuota: number;
  tap: Array<tapType>;
}
export interface tapType {
  name: string;
  background: string;
  color: string;
}
export interface paymentListType {
  name: string;
  time: string;
  price: string;
  label: tapType;
}

export interface todayType {
  year: number;
  month: number;
  day: number;
  paymentList: Array<paymentListType> | [];
  monthData: {
    cost: number;
    receipts: number;
  };
}
export type billType = Array<{
  year: number;
  accumulate: number;
  months: Array<{
    month: number;
    accumulate: number; // 积攒
    limit: number;
    dayLimit: number;
    cost: number;
    receipts: number;
    residue: number; // 剩余

    days: Array<{
      day: number;

      limit: number;
      cost: number;
      receipts: number;
      residue: number;

      paymentList: Array<paymentListType>;
    }>;
  }>;
}>;
